home *** CD-ROM | disk | FTP | other *** search
/ CICA 1993 April / CICA MS Windows - April 1993.iso / unzipped / programr / faultw / fault.inc < prev    next >
Text File  |  1992-03-30  |  694b  |  29 lines

  1. ;
  2. ; FAULT.INC
  3. ;
  4. ; Definitions and external references for use from assembly modules.
  5. ;
  6. ; Copyright(c) Microsoft Corp. 1992 All Rights Reserved
  7. ;
  8.  
  9.  
  10. ;
  11. ; External data.
  12. ;
  13.  
  14. externFP <Throw>                ;From Kernel
  15. externFP <TerminateApp>         ;From ToolHelp
  16.  
  17. externW  <_wException>          ;Indicates what exceptions we want.
  18. externFP <_pcbEx>               ;Pointer to a CATCHBUF to use in Throw
  19.  
  20.  
  21. ;
  22. ; Bits for wException.  These must match FAULT.H.
  23. ;
  24.  
  25. EXCEPTION_NONE          equ     00h     //Turns handling off.
  26. EXCEPTION_DIVIDEBYZERO  equ     01h
  27. EXCEPTION_GPFAULT       equ     02h
  28. EXCEPTION_ALL           equ     03h     //Looks for all exceptions above.
  29.